/* LoginPage.css */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #6a11cb, #2575fc);
}

.login-header {
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.login-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.ant-form-item-label > label {
    color: #595959;
}

.ant-btn-primary {
    background: #6a11cb;
    border-color: #6a11cb;
}

.ant-btn-link {
    color: #6a11cb;
}

.ant-btn-primary:hover, .ant-btn-primary:focus {
    background: #2575fc;
    border-color: #2575fc;
}

.password-login, .password-email {
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.password-login.active, .password-email.active {
    opacity: 1;
    height: auto;
}

.login-hidden {
    display: none;
}

.ant-btn-primary {
    position: relative;
    overflow: hidden;
    transition: color 0.4s, background-color 0.4s, border-color 0.4s;
}

.ant-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.75s;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
}

.ant-btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}


.ripple-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(15);
        opacity: 0;
    }
}
